//: CheckoutEditForm.java 30.10.2008 18:13:47Z apt $
package com.devunion.salon.web.form;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Timoshenko Alexander
 */
public class CheckoutEditForm extends ActionForm {
    private String number;
    private Float discount;
    private String submittedValue;

    public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
        discount = 0F;
        submittedValue = null;
        super.reset(actionMapping, httpServletRequest);    //To change body of overridden methods use File | Settings | File Templates.
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Float getDiscount() {
        return discount;
    }

    public void setDiscount(Float discount) {
        this.discount = discount;
    }

    public String getSubmittedValue() {
        return submittedValue;
    }

    public void setSubmittedValue(String submittedValue) {
        this.submittedValue = submittedValue;
    }
}
